package com.znsd.exam.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.znsd.entitys.Users;
import com.znsd.exam.dao.UserDaoPan;
import com.znsd.exam.service.UserServicePan;
@Service
public class UserServiceImplPan implements UserServicePan{
	@Autowired
	private UserDaoPan userDao;
	
	@Override
	public Users query() {
		//return userDao.getList();
		return null;
	}

	@Override
	public Users getStudentById(Integer studentId) {
		return userDao.getStudentById(studentId);
	}

	@Override
	public Users getStudentByAccountAndPwd(Map<String, Object> map) {
		return userDao.getStudentByAccountAndPwd(map);
	}

	@Override
	public List<Users> getClassStudent(Integer classId) {
		return userDao.getClassStudent(classId);
	}

	@Override
	public List<Users> getIn(List<Integer> list) {
		return userDao.getIn(list);
	}

	@Override
	public List<Users> getAchievement(Integer classId) {
		return userDao.getAchievement(classId);
	}

	@Override
	public List<Users> getAchievementIn(List<Integer> list) {
		return userDao.getAchievementIn(list);
	}

}
